<?php

class Backend_Helper_Widget_MessageBox extends Backend_Helper_Widget
{

    protected $code = 'messagebox';

    public function messageBox()
    {

        $messenger = new Backend_Flash_Messenger();
        $messages  = $messenger->getMessages();

        return parent::render(array(
            'messages' => $messages
        ));
    }

}